package com.jader.beans;

import java.io.Serializable;

public class Response implements Serializable {
	private static final long serialVersionUID = 1L;
	String picID;
	String response_name;
	String response_text;
	String response_date;
	long prente_id;
	long tiezi_id;
	int isRead;
	int xiaoxiid;

	public Response() {
		super();
	}

	public Response(String picID, String response_name, long prente_id,
			String response_text, String response_date, long tiezi_id,
			int isRead, int xiaoxiid) {
		super();
		this.picID = picID;
		this.response_name = response_name;
		this.prente_id = prente_id;
		this.response_text = response_text;
		this.response_date = response_date;
		this.tiezi_id = tiezi_id;
		this.isRead = isRead;
		this.xiaoxiid = xiaoxiid;
	}

	public long getTiezi_id() {
		return tiezi_id;
	}

	public void setTiezi_id(long tiezi_id) {
		this.tiezi_id = tiezi_id;
	}

	public String getPicID() {
		return picID;
	}

	public void setPicID(String picID) {
		this.picID = picID;
	}

	public String getResponse_name() {
		return response_name;
	}

	public void setResponse_name(String response_name) {
		this.response_name = response_name;
	}

	public long getPrente_id() {
		return prente_id;
	}

	public void setPrente_id(long prente_id) {
		this.prente_id = prente_id;
	}

	public String getResponse_text() {
		return response_text;
	}

	public void setResponse_text(String response_text) {
		this.response_text = response_text;
	}

	public String getResponse_date() {
		return response_date;
	}

	public void setResponse_date(String response_date) {
		this.response_date = response_date;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}

	public int getXiaoxiid() {
		return xiaoxiid;
	}

	public void setXiaoxiid(int xiaoxiid) {
		this.xiaoxiid = xiaoxiid;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + xiaoxiid;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Response other = (Response) obj;
		if (xiaoxiid != other.xiaoxiid)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "Response [picID=" + picID + ", response_name=" + response_name
				+ ", response_text=" + response_text + ", response_date="
				+ response_date + ", prente_id=" + prente_id + ", tiezi_id="
				+ tiezi_id + ", isRead=" + isRead + ", xiaoxiid=" + xiaoxiid
				+ "]";
	}

}
